package com.mengxuegu.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mengxuegu.member.base.Result;
import com.mengxuegu.member.entity.Member;
import com.mengxuegu.member.req.MemberREQ;

public interface IMemberService extends IService<Member> {

    /**
     * 分布条件查询
     * @param req 查询条件
     * @return
     */
    Result search(long page, long size, MemberREQ req);

    /**
     * 更新数据
     * @param id
     * @param member
     * @return
     */
    Result update(int id, Member member);

}
